package com.hxgz.steel.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class WxAskBuyListDto {

    @ApiModelProperty("实单求购id")
    private Long id;

    @ApiModelProperty("实单求购编码")
    private String askNum;

    @ApiModelProperty("实单求购状态")
    private Integer status;

    @ApiModelProperty("匹配到的商家")
    private Integer allCount;

    @ApiModelProperty("已经报价的商家")
    private Integer merchantCount;

    @ApiModelProperty(value = "总价 =商品报价+商品报价*税点+运费")
    private BigDecimal totalPrice;

    @ApiModelProperty("运费")
    private BigDecimal freight;

    @ApiModelProperty("税点")
    private BigDecimal taxPoint;

    @ApiModelProperty("税费")
    private BigDecimal taxation;

    @ApiModelProperty("商品报价")
    private BigDecimal price;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8" )
    @ApiModelProperty("修改时间")
    private Date updateTime;
}
